package com.gaswell.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @ClassName SysRtuConfig
 * @Author xiaow
 * @DATE 2023/3/12 15:59
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_rtuconfig")
public class SysRtuConfig {
    @ExcelProperty(value = "读取项名称（设计连续读取字段）")
    private String readname;
    @ExcelProperty(value = "项名称")
    private String name;
    @ExcelProperty(value = "字段类别")
    private String datatype;
    @ExcelProperty(value = "是否可控制")
    private String iswrite;
    @ExcelProperty(value = "地址")
    private String modbus;
    @ExcelProperty(value = "序号")
    private Integer xh;
    @ExcelProperty(value = "占用几个寄存位")
    private String bytes;
    @ExcelProperty(value = "读取类别")
    private String readlb;
    @ExcelProperty(value = "连续读取长度")
    private String readlength;
    @ExcelProperty(value = "开始读取地址")
    private String startmodbus;
}
